a {
  .arrow {
    display: inline-block;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s;
  }
  span {
    display: inline-block;
    padding-left: 5px;
    transform: translateX(-0.875em); // size of icon
    transition: transform 0.3s;
  }
}

.workshoptitle{
  text-decoration: none;
}

a:hover {
  fa-icon {
    opacity: 1;
    transform: scale(1);
  }
  span {
    transform: translateX(0);
  }
}

.learneth-top-nav {
  background-color: var(--bs-light);
}

.nav-button {
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  transition: border-color 0.15s ease-in-out;
  
  span {
    transform: none !important;
  }
  
  &:hover {
    border-color: var(--bs-primary);
  }
}

.dropdown-toggle.nav-button {
  background-color: var(--bs-body-bg);
  border-color: var(--bs-border-color);
  color: var(--bs-body-color);
  
  &:hover, &:active, &:focus {
    background-color: var(--bs-body-bg) !important;
    color: var(--bs-body-color) !important;
    border-color: var(--bs-primary) !important;
    box-shadow: none !important;
  }

  &::after {
    display: none;
  }
}

.nav-button i, .syllabus-item i {
  margin-right: 0.5rem;
  transform: translateY(1px);
}

.nav-divider {
  border-color: var(--bs-border-color);
  opacity: 0.5;
}

.chapter-nav {
  .chapter-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bs-body-color);
  }
  .chapter-pagination {
    font-size: 0.7rem;
  }
  .chapter-arrow {
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;

    &.disabled {
      pointer-events: none;
      opacity: 0.4;
    }
  }
}

.syllabus-dropdown-menu {
  padding: 0.25rem 0;
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color-translucent);
  box-shadow: var(--bs-box-shadow);
}

.syllabus-item {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  display: flex !important;
  align-items: center;
  transition: border-color 0.15s ease-in-out;

  i {
    opacity: 0.6;
  }
  
  position: relative;
  span {
    transform: none !important;
  }
  &:hover {
    &::before {
      content: '';
      position: absolute;
      top: 5px;
      bottom: 5px;
      left: 5px;
      width: 3px;
      background-color: var(--bs-primary);
      border-radius: 3px;
    }
  }
}